<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery-1.12.0.min.js"></script>
<style type="text/css">
	#test{
		width: 300px;
	}
</style>
</head>
<body>
<button class="x" id="test">test</button>
<p class="x">adfdfdf</p>
<script type="text/javascript">
$("#test").on("click",function(){
	$.post("test3",function(data){alert(data.uname);});
});
	
	
	

</script>
</body>
</html>